<template>
    <el-button style="margin-left: 10px" class="btn-greenYellow" size="mini" @click="showBidding"
        >查看</el-button
    >
</template>

<script>
import { openAppClient } from '@/utils/common'

export default {
    props: {
        mod: { type: String, default: '' },
        tenderId: { type: String, default: '' }
    },
    data () {
        return {}
    },
    computed: {
        url () {
            return this.mod + 'biddingApplication'
        }
    },
    created () {},
    methods: {
        showBidding () {
            console.log('url', `/${this.url}Edit?isview=true&billid=${this.tenderId}`)
            // 客户端弹窗弹出本地页面
            openAppClient(`/${this.url}Edit?isview=true&billid=${this.tenderId}`, '查看招标')
        }
    }
}
</script>

<style lang="less" scoped></style>
